﻿

namespace Jim.SHR;

/// <summary>职位取数接口（全量）</summary>    
[Sdk("inteOAGetPositionDataService", "职位取数接口（全量）")]
public class SHRInteOAGetPositionDataServiceRequest : ISdkRequest<SHRInteOAGetPositionDataServiceResponse>
{

}

public class SHRInteOAGetPositionDataServiceResponse : SdkResponse<List<SHRPosition>> { }

/// <summary>
///   <para>SHR岗位</para>
/// </summary>
public class SHRPosition
{
    /// <summary>
    /// 封存状态,为 1 是正常，为 2 是封存
    /// </summary>
    /// <value>string</value>
    public string DeletedStatus { get; set; }
    /// <summary>
    /// 职位描述
    /// </summary>
    /// <value>string</value>
    public string descn { get; set; }
    /// <summary>
    /// 职位名称
    /// </summary>
    /// <value>string</value>
    public string Name { get; set; }
    /// <summary>
    /// 职层 ID（不是编码）
    /// </summary>
    /// <value>string</value>
    [JsonProperty("positiontype_id")]
    public string PositionTypeId { get; set; }
    /// <summary>
    /// 职层名称
    /// </summary>
    /// <value>string</value>
    [JsonProperty("positiontype_name")]
    public string PositionTypeNname { get; set; }
    /// <summary>
    /// 负责人职位,为 1 则是，为 0 则否
    /// </summary>
    /// <value>string</value>
    public string IsrespPosition { get; set; }
    /// <summary>
    /// 组织 ID
    /// </summary>
    /// <value>string</value>
    [JsonProperty("dept_id")]
    public string DeptId { get; set; }
    /// <summary>
    /// 职位生效日期
    /// </summary>
    /// <value>string</value>
    public string EffectDate { get; set; }
    /// <summary>
    /// 职位 ID
    /// </summary>
    /// <value>string</value>
    [JsonProperty("eas_id")]
    public string Id { get; set; }
    /// <summary>
    /// 上级职位 ID
    /// </summary>
    /// <value>string</value>
    [JsonProperty("parent_id")]
    public string ParentId { get; set; }
    /// <summary>
    /// 职位编码
    /// </summary>
    /// <value>string</value>
    public string Fnumber { get; set; }
    /// <summary>
    /// 创建时间
    /// </summary>
    /// <value>string</value>
    public string FCreateTime { get; set; }
    /// <summary>
    /// 最后修改时间
    /// </summary>
    /// <value>string</value>
    public string FLastUpdateTime { get; set; }
    /// <summary>
    /// 组织编码
    /// </summary>
    /// <value>string</value>
    public string FOrgNumber { get; set; }
    /// <summary>
    /// 上级岗位编码
    /// </summary>
    /// <value>string</value>
    public string SupFnumber { get; set; }
    /// <summary>
    /// 职层编码
    /// </summary>
    /// <value>string</value>
    [JsonProperty("positiontype_number")]
    public string PositionTypeNumber { get; set; }
    /// <summary>
    /// 职位编码
    /// </summary>
    /// <value>string</value>
    [JsonProperty("job_number")]
    public string JobNumber { get; set; }
}
